package com.project.source;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class OnNumaraActivity extends Activity {
	Utility u;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		TextView tv = (TextView) findViewById(R.id.numbers);
		ArrayList<Integer> numbers = u.GenerateNumbers(22, 1, 80);
		String numberText = "";
		for (int j = 0; j < numbers.size(); j++) {
			if (numberText.equals("")) {
				numberText = String.valueOf(numbers.get(j));

			} else {
				numberText = numberText + "," + String.valueOf(numbers.get(j));
			}

		}
		tv.setText(numberText);
	}
}
